package com.whcoding.test.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @program: spring-boot-learning
 * @description:
 * @author: whcoding
 * @create: 2022-04-21 11:28
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
//生成json时将itemGoods属性过滤
@JsonIgnoreProperties({"itemGoods"})
public class UserTestVO implements Serializable {

	private Long userId;

	private String userName;

	private String userNo;

	private String password;

	private Integer age;

	private Date birthday;

	/**
	 * 工资
	 */
	private BigDecimal salary;

	/**
	 * 性别
	 */
	private String sex;

	private List<GoodsTestVO> itemGoods;
}
